# Maintainer: Stacy Harper <contact@stacyharper.net>
# Contributor: Stacy Harper <contact@stacyharper.net>
pkgname=transmission-remote-gtk
pkgver=1.4.2
pkgrel=0
pkgdesc="GTK client for remote management of the Transmission BitTorrent client"
url="https://github.com/transmission-remote-gtk/transmission-remote-gtk"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	appstream-glib-dev
	curl-dev
	geoip-dev
	gtk+3.0-dev
	json-glib-dev
	libmrss-dev
	libnotify-dev
	libproxy-dev
	"
options="!check" # no tests
source="https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/download/$pkgver/transmission-remote-gtk-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-lang"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
	make
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr"
}

sha512sums="
221da4bdbbd73b392b295e21bb7a30ae7d6d038b8b8bfd4a710e1eb3830cd60f116b817cd1d393945a4de582cfd5a37c0ee2d05d74d8ed60def87f1c895d3da7  transmission-remote-gtk-1.4.2.tar.gz
"
